package cn.edu.klmy.dao;

import cn.edu.klmy.models.clasz.Clasz;
import cn.edu.klmy.models.schedule.*;

import java.util.List;

/**
 * @author 顾伟
 *         创建日期：13-4-19
 */
public interface IScheduleDao {
    public List<CourseScheduling> getAllCourseSchedule();

    public int addCourseSchedule(CourseScheduling courseScheduling);

    public void deleteCourseSchedule(int id);

    public void updateCourseSchedule(CourseScheduling courseScheduling);

    public List<Clasz> getCourseScheduleClasses(int id);

    public List<Clasz> getNonCourseScheduleClasses(int id);

    public int deleteCourseScheduleClass(int courseScheduleId,int classId);

    public int addCourseScheduleClass(int courseScheduleId,int classId);

    public List<SearchCourse> getSearchCourse();

    public List<SearchTeacher> getSearchTeacher();

    public List<CourseScheduling> getCourseScheduleByConditions(String courseName, String teacherName);

    public List<SituationCourseScheduling> getCurrentCourseSchedule(int term,int section);

    public RestrictionTime getRestrictionTimeRule();

    public List<SituationCourseScheduling> getCurrentCourseScheduleByConditions(int term,int section,String courseName,String teacherName);

}
